<script setup lang="ts">
import MessageList from './components/MessageList/index.vue';
import Footer from '@/components/Footer/index.vue';
import { messageStore } from '@/store/message';
import { userStore } from '@/store/user';
const store = messageStore();
const uStore: any = userStore();
store.getSystemMessageList();
store.getChatMessageList();
</script>
<template>
  <MessageList :messageList="store.systemNewMessage" type="system" />
  <!-- //End 系统消息 -->

  <MessageList :messageList="store.messageList" :type="uStore.role == 1 ? 'talk' : 'talent'" />
  <Footer></Footer>
</template>
<style scoped></style>
